﻿@model PaginaWeb.Models.MiProducto

@{
    ViewBag.Title = "Details";
    Layout = "~/Views/Shared/_AdministradorLayout.cshtml";
}

<h2>Detalles</h2>


<fieldset>
    <legend>MiProducto</legend>

  
    @*<div class="display-field">
        @Html.DisplayFor(model => model.id)
    </div>*@

    <div class="display-label">
         @Html.DisplayNameFor(model => model.nombre)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.nombre)
    </div>
     <div class="display-label">
         @Html.DisplayNameFor(model => model.marca.nombre)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.marca.nombre)
    </div>
     <div class="display-label">
         @Html.DisplayNameFor(model => model.marca.descripcion)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.marca.descripcion)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.modelo)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.modelo)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.descripcion)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.descripcion)
    </div>

   @* <div class="display-label">
         @Html.DisplayNameFor(model => model.modelo)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.modelo)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.marca)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.marca)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.precio)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.precio)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.descripcion)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.descripcion)
    </div>*@
    <div class="display-label">
         @Html.DisplayNameFor(model => model.url)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.url)
    </div>

</fieldset>
<p>
    <button>
    @Html.ActionLink("Editar", "Edit", new { id=Model.id })
    </button>
    <button type="button" class="btn btn-info">
    @Html.ActionLink("Volver a la lista", "Index")
    </button>
</p>
<br />
@*  <footer>
      <button type="button" class="btn btn-default">
    <a href="~/Home"><font size="4" color="black">Home</font></a>
    </button>
  </footer>*@
